package com.zygh.lz.service.impl;

import cn.hutool.http.HttpRequest;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.zygh.lz.dao.app.*;
import com.zygh.lz.entity.app.*;
import com.zygh.lz.entity.vo.AppTrailerVO;
import com.zygh.lz.stapprove.ResultUtil;
import com.zygh.lz.vo.ResultBean;
import com.zygh.lz.vo.ResultBeans;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class AppParkService extends ServiceImpl<AppParkMapper, AppPark> {

    @Resource
    private AppParkMapper appParkMapper;


    public AppPark findAppParkInfoByCode(String code) {
        return appParkMapper.findAppParkByCode(code);
    }

    public List<Integer> getCodeList() {
        return appParkMapper.getCodeList();
    }

    public List<AppPark> internetFindAppParkAll() {
        return  appParkMapper.internetFindAppParkAll();
    }
}
